#ifndef __LCD_H
#define __LCD_H

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <linux/fb.h>
#include <sys/mman.h>
#include <sys/ioctl.h>

#define LONGMAO_SISTER_1 "./res/interface/icon1.bmp"
#define LONGMAO_SISTER_2 "./res/interface/icon2.bmp"
#define LONGMAO_SISTER_3 "./res/interface/icon3.bmp"
#define LONGMAO_SISTER_4 "./res/interface/icon4.bmp"
#define LONGMAO_SISTER_5 "./res/interface/icon5.bmp"

enum Color{
   RED = 0x00ff0000, //红色
   GREEN = 0x0000ff00, //绿色
   BLACK = 0x00000000, //黑色
   WHITE = 0x00ffffff, //白色
   BLUE = 0x000000ff, //蓝色
   YELLOW = 0x00ffff00, //黄色
   
};



//全局变量的声明  注意 千万不要对变量进行赋值
struct fb_var_screeninfo varinfo;//显卡设备的可变属性结构体
int(*lcd_p)[800];
int lcdFd;
//int lcd_player[150][80]; //玩家的数组全局变量
//int(*lcd_p_player)[800];//玩家液晶屏内存映射
//int lcdFd_player;//玩家液晶屏文件描述符


int lcd_init();
//int lcd_player_init();
void time_prograss_bar();
int lcd_destory();
//int lcd_player_destory();



#endif